package cn.scw.project.goods.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 优惠券对象 g_coupon
 *
 * @author api
 * @date 2020-05-20
 */
@Data
@ApiModel("优惠券vo")
public class GCouponVo {
    @ApiModelProperty("优惠券id")
    private Long id;
    @ApiModelProperty("优惠券金额")
    private double money;
    @ApiModelProperty("优惠券名称")
    private String name;
    @ApiModelProperty("优惠券数量")
    private Long count;
    @ApiModelProperty("优惠券剩余数量")
    private Long residue;
    @ApiModelProperty("优惠券说明")
    private String details;
    @ApiModelProperty("开始日期")
    private Date startDate;
    @ApiModelProperty("结束日期")
    private Date endDate;
    @ApiModelProperty("是否过期")
    private boolean isOverdue = false;
    @ApiModelProperty("是否新用户专用（新用户，所有用户）")
    private boolean isNewUser = false;
    @ApiModelProperty("使用范围（0全场，1设备采购，2设备租赁，3办公打印）——字典表维护")
    private String useScopeCode;
    @ApiModelProperty("使用范围")
    private String useScopeValue;
    @ApiModelProperty("创建日期")
    private Date createDate;


}
